package com.vidmt.api.common.exceptions;

import com.vidmt.api.modules.sys.Acc;

public class UserNotLoginException extends CodeException {
	private static final long serialVersionUID = 1L;

	public UserNotLoginException() {
		this("用户尚未登录");
	}

	public UserNotLoginException(Acc acc) {
		this("用户尚未登录:" + acc);
	}

	public UserNotLoginException(Throwable e) {
		super(CodeException.ERR_USER_NOT_LOGIN, e);
	}

	public UserNotLoginException(String msg) {
		super(CodeException.ERR_USER_NOT_LOGIN, msg);
	}

}
